<!-- inc:header -->
<div class="notice"><div class="p">
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td><span class="lead">&nbsp;&raquo; 网站信息配置</span></td>
	</tr>
	</table>
</div></div>

<form method="post" action="{:site_url('setting,setok')}id={:$groupid}" onsubmit="return to_submit();">

<div class="table">
	<div class="left">网站名称：</div>
	<input type="text" name="sitename" id="sitename" class="long_input" value="{:$rs[sitename]}">
</div>

<div class="table">
	<div class="left">标题附加字：</div>
	<input type="text" name="seotitle" id="seotitle" class="long_input" value="{:$rs[seotitle]}">
</div>

<div class="table">
	<div class="left">网站网址：</div>
	<input type="text" name="siteurl" id="siteurl" class="long_input" value="{:$rs[siteurl]}">
	<span class="clue_on">[输入网址，最后要带/]</span>
</div>

<div class="table">
	<div class="left">动态页首页：</div>
	<input type="text" name="indexphp" id="indexphp" value="{:$rs[indexphp]}">
	<span class="clue_on">[默认或是为空使用index.php，如要修改，请同时修改前台的常量HOME_PAGE参数]</span>
</div>

<div class="table">
	<div class="left">HTML网址：</div>
	<input type="text" name="sitehtml" id="sitehtml" class="long_input" value="{:$rs[sitehtml]}">
	<span class="clue_on">[输入网址，最后要带/，如http://demo3.phpok.com/zh/]</span>
</div>

<div class="table">
	<div class="left">网站关键字：</div>
	<input type="text" name="keywords" id="keywords" class="long_input" value="{:$rs[keywords]}">
	<span class="clue_on">[多个关键字用英文逗号隔开，用于SEO]</span>
</div>

<div class="table">
	<div class="left">网站描述：</div>
	<input type="text" name="description" id="description" class="long_input" value="{:$rs[description]}">
	<span class="clue_on">[简单描述一下站点的信息，用于SEO]</span>
</div>
<div class="table">
	<div class="left">网站状态：</div>
	<table cellpadding="0" cellspacing="0">
	<tr>
		<td><input type="radio" name="site_status" value="1"{if($rs[site_status])} checked{end} /></td>
		<td>&nbsp;启用 &nbsp; &nbsp;</td>
		<td><input type="radio" name="site_status" value="0"{if(!$rs[site_status])} checked{end} /></td>
		<td>&nbsp;关闭 &nbsp;</td>
		<td class="clue_on">关闭网站时请写上关闭说明</td>
		<td></td>
		<td></td>
	</tr>
	</table>
</div>
<div class="table">
	<div class="left">关闭说明：</div>
	<input type="text" name="close_reason" id="close_reason" class="long_input" value="{:$rs[close_reason]}">
	<span class="clue_on">[简单描述一下站点的信息，用于SEO]</span>
</div>
<div class="table">
	<div class="left">访问方式：</div>
	<table cellpadding="0" cellspacing="0">
	<tr>
		<td><input type="radio" name="site_type" value="html"{if($rs[site_type] == "html")} checked{end} /></td>
		<td>&nbsp;静态页 &nbsp; &nbsp;</td>
		<td><input type="radio" name="site_type" value="rewrite"{if($rs[site_type] == "rewrite")} checked{end} /></td>
		<td>&nbsp;伪静态 &nbsp; &nbsp;</td>
		<td><input type="radio" name="site_type" value=""{if(!$rs[site_type])} checked{end} /></td>
		<td>&nbsp;动态页 &nbsp;</td>
		<td class="clue_on">&nbsp;</td>
	</tr>
	</table>
</div>

<div class="notice"><div class="p">
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td><span class="lead">&nbsp;&raquo; SMTP配置</span></td>
	</tr>
	</table>
</div></div>

<div class="table">
	<div class="left">SMTP服务器：</div>
	<input type="text" name="smtp_server" id="smtp_server" value="{:$rs[smtp_server]}">
</div>
<div class="table">
	<div class="left">端口：</div>
	<input type="text" name="smtp_port" id="smtp_port" class="short_input" value="{:$rs[smtp_port]}">
	<span class="clue_on">默认是 25</span>
</div>
<div class="table">
	<div class="left">SSL：</div>
	<table cellpadding="0" cellspacing="0">
	<tr>
		<td><input type="radio" name="smtp_ssl" value="1"{if($rs[smtp_ssl])} checked{end} /></td>
		<td>&nbsp;启用 &nbsp; &nbsp;</td>
		<td><input type="radio" name="smtp_ssl" value="0"{if(!$rs[smtp_ssl])} checked{end} /></td>
		<td>&nbsp;禁用 &nbsp; &nbsp;</td>
		<td class="clue_on">一般情况下不需要启用此功能（Google邮箱需要启用此功能）</td>
		<td></td>
		<td></td>
	</tr>
	</table>
</div>
<div class="table">
	<div class="left">登录账号：</div>
	<input type="text" name="smtp_user" id="smtp_user" value="{:$rs[smtp_user]}">
</div>
<div class="table">
	<div class="left">登录密码：</div>
	<input type="password" name="smtp_pass" id="smtp_pass" value="{:$rs[smtp_pass]}">
</div>
<div class="table">
	<div class="left">回复邮箱：</div>
	<input type="text" name="smtp_reply" id="smtp_reply" value="{:$rs[smtp_reply]}">
</div>
<div class="table">
	<div class="left">管理员邮箱：</div>
	<input type="text" name="smtp_admin" id="smtp_admin" value="{:$rs[smtp_admin]}">
</div>

<div class="table">
	<div class="left">&nbsp;</div>
	<input type="submit" class="button" id="_phpok_submit" name="article_submit" value="提交"{if(!$if_modify)} disabled{end}>
</div>

</form>

<script type="text/javascript">
function to_submit()
{
	getid("_phpok_submit").disabled = true;
}
</script>
<!-- inc:footer -->